﻿@using GestionCompte.Helpers
@using GestionCompte.Entity
@using System.Collections.Generic

@{
    var operati = new List<operationEntity>();
    operati.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });

    var operati2 = new List<operationEntity>();
    operati2.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati2.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati2.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati2.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati2.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    
    var operati3 = new List<operationEntity>();
    operati3.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati3.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati3.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati3.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati3.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });

    var operati4 = new List<operationEntity>();
    operati4.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati4.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati4.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati4.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati4.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    
    var operati5 = new List<operationEntity>();
    operati5.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati5.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati5.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati5.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati5.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });

    var operati6 = new List<operationEntity>();
    operati6.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati6.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati6.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati6.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati6.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });

    var operati7 = new List<operationEntity>();
    operati7.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati7.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati7.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati7.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });
    operati7.Add(new operationEntity() { operationDate = new DateTime(2012, 06, 27), operationAmount = 12.34 });

}

<div id="content" class="container_24">
    <div id="tableZone">
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati2})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati3})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati4})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati5})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})
        @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati6})

        @*@for (int i = 0; i <= 100; i++)
        { 
            @Html.createTableHelper(new GestionCompte.Entity.CategoryEntity { name = "Tab de test", operations = operati7 })
        }*@
        
    </div>
    <br />
    <div id="RecapZone" class="grid_10">
        <p>Salaire Touché : 1700,00 €</p>
        <p>Argent dépensé : 235,00 €</p>
        <p>Reste : 1500,00 €</p>
    </div>
    <div id="FeesZone" class="grid_10">
        <p>
            Factures depuis le début du mois.
        </p>
        <table>
            <thead>
                <tr>
                    <td>Société de la facture</td>
                    <td>Lien</td>
                    <td>Montant</td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Electrabel</td>
                    <td>QQ part dans le PC ^^</td>
                    <td>34,95 €</td>
                </tr>
            </tbody>
        </table>
        
    </div>
    <div id="reimbursmentZone" class="grid_10">
        <p>
            remboursements : 
        </p>
        <table style="text-align: center">
            <thead>
                <tr>
                    <td>Date</td>
                    <td>Montant</td>
                    <td>Personne</td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>27/06/2012</td>
                    <td>40,00 €</td>
                    <td>QQN QUE JE CONNAIS MOI ET PAS TOI ^^</td>
                </tr>
            </tbody>
        </table>
    </div>

    
    @*<div id="overlay">
        
    </div>*@
    <div id="containedForm">
        test
    </div>
</div>

 


@*<table style="border: 1px solid black;">
    <thead>
        <tr><td colspan="2" style="width:300px; text-align: center;border: 1px solid black;">Ceci est un test</td></tr>
    </thead>
    <tbody>
        <tr>
            <td style="border: 1px solid black;">test</td>
            <td style="border: 1px solid black;">test</td>
        </tr>
    </tbody>
</table>*@